package com.woniuxy.microgoodsserver.bean;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ExcelTarget("GoodsUnit")
@JsonIgnoreProperties(value = {"handler"})
public class GoodsBean implements Serializable {
    @Excel(name="商品id")
    private int id; //商品id
    @Excel(name="商品id")
    private String goodsName; //商品名称
    @Excel(name="商品id")
    private BigDecimal retaiPrice;//零售价
    @Excel(name="商品id")
    private BigDecimal upsetPrice;//最低售价
    @Excel(name="商品id")
    private BigDecimal marketPrice;//市场指导售价
    @Excel(name="商品id")
    private BigDecimal costPrice;//成本参考价售价
    @Excel(name="商品id")
    private BigDecimal memberSpecials;//会员特价
    @Excel(name="商品id")
    private int integralPresent;//积分是否赠送
    @Excel(name="商品id")
    private String mnemonicCode; //注记码
    @ExcelEntity
    private MallSettingBean mallSettingBean;//商城属性
    @ExcelEntity
    private GoodsBrandBean goodsBrandBean;//品牌
    @ExcelEntity
    private GoodsNumble goodsNumble;//商品编号
    @ExcelEntity
    private GoodsSortBean goodsSortBean;//商品种类
    @ExcelEntity
    private GoodsUnitBean goodsUnitBean;//商品单位
    @Excel(name="商品id")
    private int promoStatus; //促销状态
    @Excel(name="商品id")
    private int buyStatus;
}
